//
//  MYCategory.h
//  茗玥古城
//
//  Created by 似水灵修 on 13-11-13.
//  Copyright (c) 2013年 MingYueGuCheng. All rights reserved.
//

#ifdef __OBJC__

#import "NSString+DES.h"
#import "NSString+Base64.h"
#import "NSString+Hash.h"
#import "NSString+MYDate.h"
#import "NSString+Size.h"

#import "NSArray+Log.h"

#import "NSData+AES.h"

#import "NSDate+String.h"

#import "UIColor+Utils.h"

#import "UIImage+Image.h"
#import "UIImage+Utils.h"

#import "UIImageView+LBBlurredImage.h"

#import "UIView+Frame.h"

#import "UIBarButtonItem+Item.h"

#import "UIButton+Expand.h"

//RGB颜色
#define MYRGBColor(r, g, b, a) [UIColor colorWithRed:(r) / 255.0 \
                                               green:(g) / 255.0 \
                                                blue:(b) / 255.0 \
                                               alpha:(a) * 1.0]
//随机数
#define MYRandomNumber(n) arc4random_uniform(n)
//随机颜色
#define MYRandomColor MYRGBColor(MYRandomNumber(256), \
                                 MYRandomNumber(256), \
                                 MYRandomNumber(256), 1)

/**
 *  block代码块
 **/
typedef void(^MYOperateBlock)();
typedef void(^MYBlock)(id object);

#endif
